Sponsored by Deepsite.site

Skill Doc Generator

Created By
Edgar Milá19 days ago
MCP server that turns any documentation URL into a Claude Code skill file. No API key required — the agent does the reasoning, the server handles fetching and saving
Overview

skill-doc-generator

MCP server that turns any documentation URL into a Claude Code skill file — and bundles the full skill-creator workflow so any agent can create, test, and iterate on skills without installing anything extra. No API key required.

Tools

The server exposes five tools. The AI agent (Claude Code, Cursor, Windsurf, or any MCP-compatible IDE) does all the reasoning:

ToolDescription
fetch_doc_page(url)Fetches a documentation page, strips navigation/scripts/styles, and returns clean text plus all same-domain links.
fetch_github_repo(repo, paths?)Fetches key files from a GitHub repository (README, docs, examples) via the GitHub API. More reliable than HTML scraping for repos with good inline docs. Set GITHUB_TOKEN env var to avoid rate limits.
save_skill(content, skill_name, output_dir?)Writes the generated skill markdown to disk under <output_dir>/skills/<skill_name>/SKILL.md.
read_skill(skill_name, output_dir?)Reads an existing skill from disk. Use before updating a skill to retrieve its current content, then call save_skill with the merged result.
get_skill_creator(section?)Returns the bundled skill-creator instructions. No arguments → main SKILL.md. Pass a section URI to load a subagent file (grader, comparator, analyzer) or the JSON schema reference.

The agent decides which pages to crawl, synthesizes the content into a skill, and saves it. No external AI API calls happen inside the server itself.

MCP Resources

The server also exposes the skill-creator files as MCP resources for clients that support native resource reading:

URIContents
skill-creator://SKILL.mdFull skill-creator workflow instructions
skill-creator://agents/grader.mdGrader subagent — evaluates assertions against transcripts
skill-creator://agents/comparator.mdBlind comparator subagent — judges two outputs without knowing their source
skill-creator://agents/analyzer.mdPost-hoc analyzer — explains why the winning version outperformed the other
skill-creator://references/schemas.mdJSON schema reference for evals.json, grading.json, benchmark.json

Installation

Requires Node.js 18+. No cloning needed — install directly from npm.

Claude Code (global — works across all projects):

claude mcp add --transport stdio --scope user skill-doc-generator npx skill-doc-generator

Other agentic IDEs — add to your MCP config:

{
  "mcpServers": {
    "skill-doc-generator": {
      "command": "npx",
      "args": ["skill-doc-generator"]
    }
  }
}

Cursor: .cursor/mcp.json · Windsurf: ~/.codeium/windsurf/mcp_config.json · VS Code (Copilot): .vscode/mcp.json

If you prefer a permanent global install:

npm install -g skill-doc-generator
claude mcp add --transport stdio --scope user skill-doc-generator skill-doc-generator

Usage

Generate a skill from documentation

Once the server is registered, just ask your agent:

Generate a skill from https://laravel.com/docs/13.x/eloquent
Create a Claude Code skill from the Stripe API docs: https://stripe.com/docs/api
Build a skill from https://docs.python.org/3/library/asyncio.html and save it to ./skills
Generate a skill from https://github.com/expressjs/express

The agent will:

  • Fetch the initial page (or GitHub repo) and inspect available content
  • Decide which additional pages are worth crawling (quickstart, API reference, key concepts)
  • Generate the skill .md with frontmatter, key concepts, common operations, patterns, and quick reference
  • Save it to ~/.claude/skills/ by default (or ask you where to save it)

Update an existing skill

Update my laravel-eloquent skill with the latest docs

The agent will read the existing skill, fetch updated documentation, and save a merged version.

Create or improve a skill with skill-creator

The server bundles the full skill-creator workflow. Call get_skill_creator to get the instructions, then follow the loop: draft → test → review → improve → repeat.

Use the skill-creator to help me build a skill for X
I want to improve an existing skill — use skill-creator to run evals and iterate

The bundled skill-creator covers:

  • Capturing intent and writing the SKILL.md draft
  • Writing test cases and running them (with and without the skill) as parallel subagents
  • Grading outputs against quantitative assertions
  • Launching an eval viewer for human review
  • Iterating based on feedback
  • Optimizing the skill's description for better triggering accuracy

Output format

Generated skill files follow the Claude Code skill format:

---
name: laravel-eloquent
description: Use when working with Laravel Eloquent ORM — models, relationships, queries, scopes
---

# Laravel Eloquent

...actionable instructions for the agent...

Saved files are immediately usable as Claude Code skills.

Requirements

  • Node.js 18+
  • An MCP-compatible agentic IDE (Claude Code, Cursor, Windsurf, etc.)
  • No API keys needed

Project structure

src/
  index.ts                    — stdio MCP server entry point
  tools/
    generate-skill.ts         — fetch_doc_page, fetch_github_repo, save_skill, read_skill tools
  resources/
    skill-creator.ts          — get_skill_creator tool + MCP resources
bundled-skills/
  skill-creator/
    SKILL.md                  — main skill-creator instructions
    agents/                   — grader, comparator, analyzer subagent files
    references/               — JSON schema reference

Server Config

{
  "mcpServers": {
    "skill-doc-generator": {
      "command": "npx",
      "args": [
        "skill-doc-generator"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Amap Maps高德地图官方 MCP Server
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.